package com.bhkj.pdjhbgnewproject.core.jpush;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.blankj.utilcode.util.AppUtils;

public class StartAppForDeviceBoot extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {

        if (Intent.ACTION_BOOT_COMPLETED.equals(intent.getAction())) {
            AppUtils.launchApp(AppUtils.getAppPackageName());
        }
    }
}
